<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="__ADMIN__/css/layui.css"/>
    <style>
        .pages{
            padding-top: 10px;
            margin-left: 30px;
        }
        .pages span {
            background: #8FC41F;
            color: #fff;
            border: 1px solid #8FC41F;
            padding: 3px 10px;
            margin-left: 8px;

        }
        .pages a {
            border: 1px solid #666666;
            padding: 3px 10px;
            margin-left: 8px;
            text-decoration: none;
            color: #333;
            outline: none;

        }
        .pages li {
            display: inline-block;
            list-style: none;
            text-decoration: none;
            color: #58A0D3;
            margin-left: 20px;
        }
        table{border-collapse: collapse;
            width: 100%;
            font-size: 14px;
            text-align: center;
            margin-top: 10px;
            margin-left: 10px;
        }
        table th{background-color: #E8E8E8;}
        table th,
        table td{border: solid 1px #ccc; padding: 8px;}
    </style>
</head>
<body>
<table>
    <thead>
    <tr>
        <th>编号</th>
        <th>用户</th>
        <th>性别</th>
        <th>邮箱</th>
        <th>注册时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <volist name="data" id="vol">
        <tr>
            <td>{$i}</td>
            <td>{$vol.username}</td>
            <td>{$vol.sex}</td>
            <td>{$vol.email}</td>
            <td>{$vol.regtime|date="Y-m-d H:i:s",###}</td>
            <td>
                <a   href="__CONTROLLER__/update/id/{$vol.id} "class="layui-btn layui-btn-xs" >修改</a>
                <a  href="__CONTROLLER__/del/id/{$vol.id} " class="layui-btn layui-btn-danger layui-btn-xs" onclick="if(confirm('确定删除么？')===false) return  false;">删除</a>
            </td>
        </tr>
    </volist>
    </tbody>
</table>
<div class="pages">{$show}</div>
</body>
</html>